<?php


namespace app\admin\controller;

use app\admin\controller\BaseController;
use app\common\model\mysql\Region as AreaModel;

class Region extends BaseController
{
    // 列表所有
    public function list()
    {
        $AreaModel = new AreaModel();
        $result = $AreaModel->getArea();
        // halt($result);
        return $this->renderSuccess($result, '查询成功');
    }
}